//
//  UILabel+LinkTap.h
//  KVO-Demo
//
//  Created by JK210 on 2018/4/12.
//  Copyright © 2018年 JK210. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^WKBTextAction)(NSInteger location, NSAttributedString * tapText);

@interface UILabel (LinkTap)
/**
 range:点击响应的文字ranges
 */
- (void)tapWithURLTextRanges:(NSArray*)ranges tapAction:(WKBTextAction)action;
@end
